package com.ling.dao;

import com.ling.bean.UserStarAnswer;
import com.ling.bean.UserStarAnswerExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserStarAnswerMapper {
    long countByExample(UserStarAnswerExample example);

    int deleteByExample(UserStarAnswerExample example);

    int deleteByPrimaryKey(String id);

    int insert(UserStarAnswer record);

    int insertSelective(UserStarAnswer record);

    List<UserStarAnswer> selectByExample(UserStarAnswerExample example);

    UserStarAnswer selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") UserStarAnswer record, @Param("example") UserStarAnswerExample example);

    int updateByExample(@Param("record") UserStarAnswer record, @Param("example") UserStarAnswerExample example);

    int updateByPrimaryKeySelective(UserStarAnswer record);

    int updateByPrimaryKey(UserStarAnswer record);
}